home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / touch.arc / TOUCH.DOC < prev   
Encoding:
Text File  |  1985-10-06  |  3.6 KB  |  82 lines

  1.  
  2.                      T  O  U  C  H     u  t  i  l  i  t  y
  3.  
  4.  
  5.                         new and improved by Danny Bain
  6.  
  7.                                  6-13-85  4:15
  8.                                      2.01B
  9.  
  10.               This new and improved Touch utility runs faster, and has 
  11.          many options that the older Touch implementations didn't 
  12.          have.  Among these enhancements are: user preset dates, and 
  13.          user preset times for the files to be set to.  Along 
  14.          with these options, there is the program's ability to select 
  15.          the current time, or date, as the setting to stamp the file 
  16.          with.  I have put a lot of work into making the parser as 
  17.          reliable, and flexible as possible.  The command (or switch) 
  18.          parser, which scans the parameter line for information, allow 
  19.          for the switches and the filename to be in any order.  The 
  20.          switches don't even need a spaces between them, and the 
  21.          filename can have wildcards (* and ?), including full paths 
  22.          to other disks (b:\util\pascal\*.p?s).
  23.               Following is an example of the commands TOUCH will 
  24.          accept as valid:
  25.                                     { X>   =   COMMAND.COM prompt }
  26.  
  27.              X>touch/4:15/6-13-1985 b:\util\pascal\*.p?s
  28.  
  29.            with /4:15 setting the time to stamp on the files as 4:15
  30.            with /6-13-1985 setting the time to stamp on the files as
  31.              June 13, 1985
  32.            touch will set these stamps to all files in drive B, in 
  33.              directory \util\pascal\ with the .p?s extension
  34.  
  35.              X>touch/:15/--1985 b:\util\pascal\*.p?s
  36.  
  37.            with /:15 setting the time to stamp on the files as 15 
  38.              minutes past the system hour
  39.            with /--1985 setting the date to stamp on the files as the 
  40.              year 1985 of the month and date of the system
  41.  
  42.          REMEMBER --   the switchs and the filename can be moved 
  43.                      around, and the switchs can even be left out
  44.  
  45.  
  46.               Touch as written, now runs about 50% faster than the 
  47.          older versions.  Follows is a graph of the increase in speed 
  48.          on different computers with the same versions of the new and 
  49.          the old TOUCH.
  50.  
  51.          |                                  benchmark:
  52.  t  100% |     +----+
  53.  i  90 % |     |Old |                           X>b:touch *.*
  54.  m  80 % |     |    |        +----+
  55.  e  70 % |     |t v |        |    |             with 57 files on the 
  56.     60 % |     |o e |        |    |               disk with the HP 150 
  57.  u  50 % |     |u r |        |    |               and 34 files on the
  58.  s  40 % |     |c s |        |    |               disk with the IBM
  59.  e  30 % |     |h i |        |    |
  60.  d  20 % |     |  o | +----+ |    |
  61.     10 % |_____|  n |_|    |_|    |___            Results:
  62.                         /      \
  63.             new touch _/        \_new touch          new version is
  64.             version on            version on          52% faster
  65.             a HP 150              a IBM-PC
  66.  
  67.  
  68.  
  69.               I am running this program on a user support basis, if 
  70.          you feel that improvements on useful programs like this 
  71.          should go on, please send what ever cash endowment you feel 
  72.          is worthy ($5 recomended) to:
  73.  
  74.                          Danny Bain
  75.                          c/o Engram Outgram Computer Services
  76.                          2219 So. 80th EAve.
  77.                          Tulsa OK  749
  78.  
  79.  
  80.  
  81.          thank you!
  82.